package br.ufmg.ubicomp.droidguide.utils;

import java.util.ArrayList;
import java.util.Collection;

import br.ufmg.ubicomp.droidguide.eventservice.DroidGuideRemoteService;
import br.ufmg.ubicomp.droidguide.eventservice.enums.ServiceType;

public class EventServiceFactory {

	public static Collection<DroidGuideRemoteService> createServices()
	{
		Collection<DroidGuideRemoteService> services = new ArrayList<DroidGuideRemoteService>();
		
		DroidGuideRemoteService s1 = new DroidGuideRemoteService();
		s1.setDescription("weather.com");
		s1.setKey("1");
		s1.addType(ServiceType.WEATHER);
		services.add(s1);
		
		DroidGuideRemoteService s2 = new DroidGuideRemoteService();
		s1.setDescription("shopping.com");
		s1.setKey("2");
		s1.addType(ServiceType.BUSINESS);
		services.add(s2);
		
		DroidGuideRemoteService s3 = new DroidGuideRemoteService();
		s1.setDescription("911");
		s1.setKey("3");
		s1.addType(ServiceType.EMERGENCY);
		services.add(s3);
		
		DroidGuideRemoteService s4 = new DroidGuideRemoteService();
		s1.setDescription("Traffic Service");
		s1.setKey("4");
		s1.addType(ServiceType.TRAFFIC);
		s1.addType(ServiceType.LOCATION);
		services.add(s4);
		
		DroidGuideRemoteService s5 = new DroidGuideRemoteService();
		s1.setDescription("Restaurants Nearby");
		s1.setKey("5");
		s1.addType(ServiceType.TOURISM);
		s1.addType(ServiceType.LOCATION);
		services.add(s5);
		
		return services;
	}
}
